package com.ruoyi.wb.mapper;

import java.util.List;
import com.ruoyi.wb.domain.WbAgreements;

/**
 * 协议Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-14
 */
public interface WbAgreementsMapper 
{
    /**
     * 查询协议
     * 
     * @param id 协议主键
     * @return 协议
     */
    public WbAgreements selectWbAgreementsById(Long id);

    /**
     * 查询协议列表
     * 
     * @param wbAgreements 协议
     * @return 协议集合
     */
    public List<WbAgreements> selectWbAgreementsList(WbAgreements wbAgreements);

    /**
     * 新增协议
     * 
     * @param wbAgreements 协议
     * @return 结果
     */
    public int insertWbAgreements(WbAgreements wbAgreements);

    /**
     * 修改协议
     * 
     * @param wbAgreements 协议
     * @return 结果
     */
    public int updateWbAgreements(WbAgreements wbAgreements);

    /**
     * 删除协议
     * 
     * @param id 协议主键
     * @return 结果
     */
    public int deleteWbAgreementsById(Long id);

    /**
     * 批量删除协议
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWbAgreementsByIds(Long[] ids);
}
